﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////


#pragma once
#include "GcmpUiInterface.h"
#include "IEvent.h"

namespace gcmp
{
    class IPropertyPanelEventHandler;
    class IPropertyWidget;

    /// \brief 属性表事件
    class GCMP_UI_INTERFACE_EXPORT IPropertyPanelEvent : public IEvent
    {
    public:
        IPropertyPanelEvent();
        virtual ~IPropertyPanelEvent();

        virtual bool Add(IPropertyPanelEventHandler* pHandler) = 0;
        virtual bool Delete(IPropertyPanelEventHandler* pHandler) = 0;
        virtual IPropertyWidget* GetSender() const = 0;
    };
}

